package com.medical.manage.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: medical
 * @BelongsPackage: com.medical.manage.domain
 * @Author: szw
 * @CreateTime: 2025-03-17  22:30
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@TableName("t_appraise")
public class Appraise {
    //医生评价id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //患者id
    private Long patientId;
    //医生id
    private Integer doctorId;
    //评分
    private String score;
    //评价内容
    private String appraiseContent;
    //回复内容
    private String replyContent;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //修改人
    private String updatePerson;


}
